#ifndef PROMPTITEM_H
#define PROMPTITEM_H

#include <QGraphicsObject>
#include <QTimer>

class PromptItem : public QGraphicsObject
{
    Q_OBJECT
public:
    explicit PromptItem(int iComboNum = 0);
public:
    virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
    virtual QRectF boundingRect() const;

    void    SetNum(int iNum) {m_iComboNum = iNum;}
public:
    int         m_iComboNum;
    QTimer      m_timer;
    bool        m_bFadeIn;
    bool        m_bRun;
public slots:
    void    ShowPrompt();
};

#endif // PROMPTITEM_H
